package xyz.chaobei;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "EUREKA-CLIENT", fallback = ComputeClientHystrix.class)
public interface FeignInterfaces {

    /**
     * 调用client 的list 接口
     *
     * @return
     */
    @RequestMapping(method = RequestMethod.GET, value = "/list")
    String list();
}
